// src/pages/app.js
import React from 'react'
import { Router } from '@reach/router'
import Settings from '../components/settings'
import Create from '../components/create'
import PrivateRoute from '../components/PrivateRoute'

export default function App () {
    return <Router>
        <PrivateRoute component={Settings} path="/app/settings"  />
        <PrivateRoute component={Create} path="/app/create"  />
    </Router>
}